home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 July / CMCD0703.ISO / Software / CoverStory / dscaler / DScaler416.exe / {app} / Skins / default / skin.ini next >
INI File  |  2002-10-27  |  6KB  |  227 lines

  1. #
  2. # Skin ini file
  3. #
  4. # Sections:
  5. #
  6. #   [Border]     : The border around the DScaler window
  7. #   [Toolbar1]   : The main toolbar at the bottom or top of the screen
  8. #   [LogoBar]    : DScaler logo
  9. #   [ChannelBar] : The channel bar in the main tool bar
  10. #   [VolumeBar]  : The volume bar in the main tool bar
  11. #
  12. # Each section has to specify the location of the bitmap and the mask bitmap 
  13. # for transparency.
  14. # Use the 'Bitmap' and 'Mask' entries for this.
  15. # The bitmaps have to be in .bmp format and can have any resolution or depth.
  16. # For the mask bitmap, use a 2 color (black/white) bitmap where white is 
  17. # transparent.
  18. # The mask bitmap has to be the same size as the corresponding bitmap.
  19.  
  20. # Each section has 'Bitmap' and 'Mask' entries 
  21. # Most other entries are pieces from the bitmap file specified in entry 
  22. # 'Bitmap'.
  23. # The entries that specify pieces of the bitmap have coordinates as values.
  24. # The coordinates are 'left,top,right,bottom'. 
  25. # The right and bottom coordinates are Windows GDI style. They are not 
  26. # included in the bitmap.
  27. # e.g.
  28. #   Mute=10,10,30,30
  29. #
  30. #   Is a bitmap of width and height 20. So the column at y coordinate 30 
  31. #   is not included. Same for the row at x=30
  32. #
  33. # The [Border] and [Toolbar1] sections use pieces that build up the outline 
  34. # of a rectangle in 16 pieces.
  35. # The corners and pieces right next to them have a fixed size.
  36. # The pieces in the middle of sides of the rectangle are tiled till the 
  37. # right size is reached (2,6,10 and 14).
  38. #
  39. #    0   1    -2-    3   5
  40. #    
  41. #   15                   4
  42. #
  43. #
  44. #   |                    |
  45. #   14                   6
  46. #   |                    |
  47. #    
  48. #
  49. #   13                   7
  50. #
  51. #   12   11   -10-    9  8
  52. #
  53. #   Entries are (seen from top to bottom):
  54. #   0-5:  TopLeftCorner,TopLeft,TopMiddle,TopRight,TopRightCorner
  55. #   15,4: LeftTop,RightTop
  56. #   14,6: LeftMiddle,RightMiddle
  57. #   13,7: LeftBottom,RightBottom
  58. #   12-8: BottomLeftCorner,BottomLeft,BottomMiddle,BottomRight,BottomRightCorner
  59. #
  60. #   Usually, the corners and middle pieces are minimum. The pieces right 
  61. #   next to the corners can be left out (1,3,4,7,9,11,13,15)
  62. #
  63. #
  64.  
  65.  
  66. # Border
  67. #
  68. # Additional entries:
  69. #
  70. # ButtonClose       : Close window button
  71. # ButtonMinimize    : Mimize window button
  72. # ButtonMaximize    : Full screen
  73. # ButtonSize        : Resize window
  74. #
  75. # Add 'Click' or 'MouseOver' to the entry name for alternative
  76. #  bitmaps that appear when the user clicks or moves the mouse over the 
  77. #  control.
  78. # (e.g. ButtonCloseMouseOver=10,10,30,30,TopRight,Right,Center)
  79. #
  80. # The Button entries have additional arguments after the bitmap coordinates
  81. # Button=left,top,right,bottom,RelativePosition,X,Y
  82. #
  83. # RelativePosition : Position of button relative to a piece of the 
  84. #                    border (e.g.: RightTop or BottomRightCorner)
  85. #                    Omit for X and Y coordinates relative to the top-left
  86. #                    of the window.
  87. # X and Y          : Top-left position of the button
  88. #                    (Relative to 'RelativePosition')
  89. #                    These are the number of pixels or 'Left,Center,Right'
  90. #                    or 'Top,Center,Bottom' for alignment.
  91. #
  92.  
  93. [Border]
  94. Bitmap=skin1.bmp
  95. Mask=skin1_mask.bmp
  96.  
  97. TopLeftCorner=0,0,16,16
  98. TopMiddle=16,0,320,16
  99. TopRight=320,0,384,16
  100. TopRightCorner=384,0,400,16
  101. RightMiddle=384,16,400,384
  102. BottomRightCorner=384,384,400,400
  103. BottomMiddle=160,384,384,400
  104. BottomLeft=16,384,160,400
  105. BottomLeftCorner=0,384,16,400
  106. LeftMiddle=0,16,16,384
  107.  
  108. ButtonClose=0,410,10,420,TopRight,50,4
  109. ButtonCloseClick=20,410,30,420,TopRight,50,4
  110.  
  111. ButtonMinimize=40,410,50,420,TopRight,20,4
  112. ButtonMinimizeClick=60,410,70,420,TopRight,20,4
  113.  
  114. ButtonMaximize=80,410,90,420,TopRight,35,4
  115. ButtonMaximizeClick=100,410,110,420,TopRight,35,4
  116.  
  117. ButtonSize=0,430,16,446,BottomRightCorner,0,0
  118. ButtonSizeClick=0,430,16,446,BottomRightCorner,0,0
  119.  
  120. #ButtonSideBar=20,430,36,510,,0,Center
  121.  
  122.  
  123. # Toolbar1
  124. #
  125. # Main toolbar
  126. # Addition entries:
  127. #
  128. # Bar=left,top,right,bottom: Bar seperator
  129. #
  130. # Margin=left,top,right,bottom,child_leftright,child_topbottom
  131. #   left-bottom: Margins at the sides of the toolbar for the bars inside 
  132. #                (like channelbar and volumebar)
  133. #  child_leftright: Margin between bars inside the main toolbar
  134. #  child_topbottom: Margin between bars inside the main toolbar
  135. #
  136. [Toolbar1]
  137. Bitmap=skin1.bmp
  138. Mask=skin1_mask.bmp
  139.  
  140. TopLeftCorner=0,551,16,610
  141. TopMiddle=16,551,32,610
  142. TopRight=32,551,384,610
  143. TopRightCorner=384,551,400,610
  144. BottomRightCorner=384,620,400,624
  145. BottomRight=32,620,384,624
  146. BottomMiddle=16,620,32,624
  147. BottomLeftCorner=0,620,16,624
  148.  
  149. Bar=0,551,1,610
  150.  
  151. MarginsBottom=5,10,5,0,0,5
  152. MarginsTop=5,5,5,10,0,5
  153.  
  154. # Logobar
  155. #
  156. # Logo=left,right,top,bottom
  157. [LogoBar]
  158. Bitmap=skin1.bmp
  159. Mask=skin1_mask.bmp
  160. Logo=0,530,171,544
  161.  
  162. # Logobar
  163. #
  164. # The channel down, channel up and previous channel buttons:
  165. #
  166. #  SpinDown[MouseOver|Click]=left,right,top,bottom
  167. #  SpinUp[MouseOver|Click]=left,right,top,bottom
  168. #  Previous[MouseOver|Click]=left,right,top,bottom
  169. #
  170. [ChannelBar]
  171. Bitmap=skin1.bmp
  172. Mask=skin1_mask.bmp
  173.  
  174. SpinDown=0,683,16,694
  175. SpinDownClick=20,683,36,694
  176.  
  177. SpinUp=60,683,76,694
  178. SpinUpClick=80,683,96,694
  179.  
  180. Previous=0,660,16,676
  181. PreviousClick=20,660,36,676
  182.  
  183. # VolumeBar
  184. #
  185. # The mute/unmute button:
  186. #  Mute[MouseOver|Click]=left,right,top,bottom
  187. #  MuteChecked[MouseOver|Click]=left,right,top,bottom
  188. #
  189. # The volume slider:
  190. #
  191. #  Volume[MouseOver|Click]=left,right,top,bottom
  192. #  Selected[MouseOver|Click]=left,right,top,bottom
  193. #
  194. # The channel indicator (Channel 0-3: mono, stereo, lang1, lang2)
  195. #
  196. # SoundChannel[MouseOver|Click]=left,right,top,bottom           
  197. # SoundChannel1[MouseOver|Click]=left,right,top,bottom
  198. # SoundChannel2[MouseOver|Click]=left,right,top,bottom
  199. # SoundChannel3[MouseOver|Click]=left,right,top,bottom
  200. #
  201.  
  202. [VolumeBar]
  203. Bitmap=skin1.bmp
  204. Mask=skin1_mask.bmp
  205.  
  206. Mute=60,660,76,676
  207. MuteClick=80,660,96,676
  208. #MuteChecked=130,660,146,676
  209. #MuteCheckedClick=150,660,166,676
  210. MuteChecked=130,680,146,696
  211. MuteCheckedClick=150,680,166,696
  212.  
  213. Volume=43,460,140,476
  214. VolumeSelected=43,430,142,446
  215.  
  216. #Mono
  217. SoundChannel=0,700,30,716
  218. #Stereo
  219. SoundChannel1=120,700,150,716
  220.  
  221. #Lang 1
  222. SoundChannel2=240,700,270,716
  223.  
  224. #Lang 2
  225. SoundChannel3=0,720,30,736
  226.